import request from '@/utils/request.js'
// 用户注册
export function register(data) {
	return request.post('/api/auth/ma/register', data)
}
// 获取验证码
export function getCode(data) {
	return request.get(`/api/auth/send-code?phone=${data}`)
}
// 用户登录
export function login(data) {
	return request.post('/api/auth/ma/login', data)
}